#include "salaryexpend.h"
#include <QSqlQuery>
#include <QDateTime>
#include <QDebug>
#include <QObject>
#include <QThread>
#include <QSqlError>
#include "excelgeneration.h"

const int SalaryExpend::ID_COL = 0;
const int SalaryExpend::EMPLOYEE_ID_COL = 1;
const int SalaryExpend::EMPLOYEE_NAME_COL = 2;
const int SalaryExpend::SALARY_RATE_COL = 3;
const int SalaryExpend::CASH_RATE_COL = 4;
const int SalaryExpend::FROM_AT_COL = 5;
const int SalaryExpend::TO_AT_COL = 6;
const int SalaryExpend::CREATED_AT_COL = 7;
const int SalaryExpend::MODIFIED_AT_COL = 8;
const int SalaryExpend::CASH_COL = 11;
const int SalaryExpend::CHECK_COL = 9;
const int SalaryExpend::TIP_COL = 10;

SalaryExpend::SalaryExpend()
{
    this->id = -1;
}

